DSS Service Description Directory

The DSS Service Description Directory provides a simple mechanism for announcing DSS service descriptions using RSS technology compatible with common RSS readers. This enables service descriptions to be announced on the Web without central registration.

Building the Service Index

A batch script is provided in the Documentation directory that you can run to create the Service Index. Locate the file called BuildServiceIndex.cmd and run it either from a DSS Command Prompt or from Windows Explorer. When it has completed the Service Index will be located in the Documentation\ServiceIndex folder.

Directory Contents

The directory consists of a set of files generated by the DSS Contract Information Tool (DssInfo.exe) and contains the following:

  1. An overview (similar to this page) which can be modified directly to contain the desired information before publication
  2. A CSS stylesheet which contains the style and layout for presenting the service descriptions and the overview page (this page). The stylesheet can also be modified directly to accommodate the desired style.
  3. A set of service descriptions (one HTML page per service - a DLL containing multiple services generates multiple HTML pages) that describes the services you want to include in the description directory.
  4. An Atom/RSS feed which acts as an index of the service descriptions. Using Atom/RSS allows the index to be accessed from popular RSS readers and subscribed to so that subscribers automatically can be notified about the publication of new service descriptions.
  5. An Atom XSLT file that is used to provide an HTML Web interface for the feed when it is viewed in a Web browser. If the Atom/RSS feed is opened through HTTP by a browser that supports feeds, then the browser’s default feed viewer will be used.

The set of files in the directory are related (linked to each other) as indicated in the figure below. The set of generated files are internally consistent which means that they can be published as a whole on a Web server without changing any of their internal relationships.

Relationship between generated files

Third-Party Content

You can rebuild the Service Index as often as you like. All the DLLs in the bin folder are scanned and added to the index (if appropriate). This means that any other services you write yourself or that you obtain from a third-party will also be documented in the index.

NOTE: If you customize the index.html or stylesheet.css in the ServiceIndex folder, they will be overwritten if you rebuild the Service Index. You should make a copy of any files you change to avoid losing the changes.

The filenames for the HTML pages are generated from a hash of the Contract Identifier. So if you do not change the Contract Identifier for a service, a rebuild will simply replace the existing HTML file.

If a service DLL includes an embedded resource as an icon, this will be included in the output as a separate image file.

Viewing the Index of the Service Descriptions as Atom/RSS feed

When this page is opened in a Web browser that supports Atom/RSS feeds, it will recognize the feed associated to the page and will enable the "Feed" button in the browser. In IE7, the page needs to be viewed from a web server to enable the feed button, i.e. not from a local hard disk. You can view the index by clicking on the feed button or directly navigating to the index.atom.xml file.